package com.tongda.core.vo;

import java.io.Serializable;

public class User implements Serializable {
	private static final long serialVersionUID = 1L;
	public int userId = 0;
	public int userAvatarIconId = 0;
	public String userName = null;
	public String ipAddress = null;
	public String macAddress = null;
	public String loginTime = null;
	public long timeStamp = 0;
	public int departmentId = 0;

	public User(int userId, int userAvatarIconId, String userName,
			String ipAddress, String loginTime) {
		this.userId = userId;
		this.userAvatarIconId = userAvatarIconId;
		this.userName = userName;
		this.ipAddress = ipAddress;
		this.loginTime = loginTime;
	}

	public User() {
	}

	@Override
	public String toString() {
		return userId + userAvatarIconId + userName + ipAddress + macAddress
				+ loginTime;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getUserAvatarIconId() {
		return userAvatarIconId;
	}

	public void setUserAvatarIconId(int userAvatarIconId) {
		this.userAvatarIconId = userAvatarIconId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getIpAddress() {
		return ipAddress;
	}

	public void setIpAddress(String ipAddress) {
		this.ipAddress = ipAddress;
	}

	public String getMacAddress() {
		return macAddress;
	}

	public void setMacAddress(String macAddress) {
		this.macAddress = macAddress;
	}

	public String getLoginTime() {
		return loginTime;
	}

	public void setLoginTime(String loginTime) {
		this.loginTime = loginTime;
	}

	public long getTimeStamp() {
		return timeStamp;
	}

	public void setTimeStamp(long timeStamp) {
		this.timeStamp = timeStamp;
	}

	public int getDepartmentId() {
		return departmentId;
	}

	public void setDepartmentId(int departmentId) {
		this.departmentId = departmentId;
	}

}
